﻿//-----------------------------------------------------------------------
// <copyright file="IDataReader.cs" company="NextLine Software">
//     Copyright (c) NextLine Software. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace System.Data
{
    public interface IDataReader : IDisposable, IDataRecord
    {
        int Depth
        {
            get;
        }

        bool IsClosed
        {
            get;
        }

        int RecordsAffected
        {
            get;
        }

        void Close();

        bool NextResult();

        bool Read();
    }
}
